var time=new Date();
var year=time.getFullYear();
var month=time.getMonth();
var data=time.getDate();
var hour=time.getHours();
var minute=time.getMinutes();
var second=time.getSeconds();
console.log(time,year,month,data,hour,minute,second)